package com.example.demo.stu8;

import org.springframework.beans.factory.annotation.Autowired;

public class Servers {
    private String title;
    private String ip;
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Override
    public String toString(){
        return "MyServer{ " +
                "title =" + title +"\n"+
                "ip =  " + ip +"\n" +
                ",ip = "+ip+'\n'+"}";


    }

}

